package com.ctshk.rpc.localfun.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Description
 * @Author wansi <gaylen15527491065@yeah.net>
 * @Date 2021/3/24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="LocalFunProductChannelOnlineThirdPlatformReq对象", description="产品线上渠道第三方平台")
public class LocalFunProductChannelOnlineThirdPlatformReq implements Serializable {

    @ApiModelProperty(value = "官方平台渠道表ID")
    private Long ruleId;

    @ApiModelProperty(value = "三方平台ID")
    private Long platformId;

    @ApiModelProperty(value = "三方平台名称")
    private String platformName;

    @ApiModelProperty(value = "加幅类型")
    private Integer adjustType;

    @ApiModelProperty(value = "金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "百分比")
    private Double percent;

    @ApiModelProperty(value = "是否设置限购")
    private Integer isLimit;

    @ApiModelProperty(value = "限购数量")
    private Integer limitNum;
}
